# -*- coding: utf-8 -*-
# @Author   : niejiali
# @Time     : 2019/1/21 15:57
# @File     : get_host_ip.py
# @Software : PyCharm
import socket
myname = socket.getfqdn(socket.gethostname())
my_addr = socket.gethostbyname(myname)
